package org.hgvc.webapp.ets.spring.dao;

import java.util.List;

import org.hgvc.webapp.ets.bo.TerminateLog;
import org.hibernate.Criteria;
import org.hibernate.criterion.Order;
import org.jocsb.base.AbstractHibernateDao;

public class TerminateHbmDao extends AbstractHibernateDao{
	
	public List<TerminateLog> getTerminateLogList()throws Exception{
		Criteria criteria = getSession().createCriteria(TerminateLog.class);
		criteria.addOrder(Order.desc("takenDate"));
		List<TerminateLog> list = criteria.list();
		return list;
	}
}
